
import 'package:flutter/material.dart';
import 'package:get/get.dart';

class KeyBoardUtil{
  static downKeyBoard(){
    FocusScope.of(Get.context).requestFocus(FocusNode());
  }

  static KeyBoardOnTouchDownWidget(BuildContext context,{@required Widget child}){
    return GestureDetector(
      onTap: ()=>FocusScope.of(context).requestFocus(FocusNode()),
      child: child,
    );
  }
}